/*先设计屏幕宽度在900px以上的情况的样式设置*/

input,
button {
	border: none;
	outline: none;
}

div#lookWeather {
	position: fixed;
	left: 0;
	top: 0;
	z-index: 10000;
	width: 100%;
	max-width: 1200px;
	height: 100vh;
	overflow: scroll;
	box-sizing: border-box;
	margin: 0 auto;
	display: none;
	background: rgba(255, 255, 204, 0.8);
}
@media screen and (min-width: 1200px) {
	div#lookWeather {
		left: calc(50vw - 600px);
	}
}
div#lookWeather div.weatherTitle {
	width: 100%;
	margin: 0 auto;
	height: auto;
	max-height: 100px;
	position: relative;
	overflow: hidden;
	text-align: center;
}

.weatherDiv {
	position: relative;
}

#lookWeather .hide-div a {
	display: block;
	position: absolute;
	right: 10px;
	top: 10px;
	z-index: 10;
	font-size: 30px;
	color: #0494FD;
	font-weight: bold;
	background: #ffc;
	border: 2px solid #0494FD;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	line-height: 30px;
	text-align: center;
}

.remind-div {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: rgba(0, 0, 0, 0.8);
	color: white;
	line-height: 1.2rem;
	border-radius: 0.4rem;
	padding: 0.2rem;
}

div.weatherTitle div.colorChange {
	position: absolute;
	left: 0;
	top: 0;
	margin-top: 0.5rem;
	height: 1rem;
	width: 2rem;
	border-radius: 50%;
	overflow: hidden;
	box-sizing: border-box;
	border: 0.02rem solid green;
}

div.weatherTitle div.colorChange input {
	width: 200%;
	height: 200%;
	margin: -20%;
}

div#lookWeather div.weatherTitle>span {
	/*display: block;
	width: 100%;
	height: 100%;*/
	transition: all 0.3s;
	text-align: center;
	/*line-height: 3rem;*/
	font-weight: bold;
	font-size: 20px;
	letter-spacing: 5px;
	background: rgba(100, 199, 170, 0.9);
	color: white;
}

div#lookWeather div.weatherTitle>span~a {
	color: inherit;
}

div#lookWeather div.weatherTitle span:hover {
	background: rgba(100, 209, 170, 0.9);
	border-radius: 0.04rem;
	color: gold;
	font-size: 25px;
	text-shadow: 2px -2px 2px black;
}

div.weatherDiv {
	width: 100%;
	margin: 0 auto;
}
/*展示现温，时间的div*/
div.weatherDiv>div:nth-of-type(2) {
	width: 100%;
	height: 1.1rem;
	max-height: 120px;
	margin: 0.2rem auto;
	box-sizing: border-box;
	overflow: hidden;
	transition: all 0.3s;
}

div.weatherDiv>div:nth-of-type(2):hover {
	border-radius: 0.2rem;
}
/*搜索输入框的宽高度设置：最大高度限制为：100px*/
div.weatherDiv label#weatherInput {
	display: flex;
	justify-content: space-between;
	align-content: center;
	align-items: center;
	width: 100%;
	height: 2rem;
	max-height: 100px;
	line-height: 2rem;
}

label#weatherInput>div:nth-of-type(1) {
	height: 100%;
	flex: 4;
	margin-left: 0.2rem;
	font-size: 100%;
}

label#weatherInput input[type=text] {
	width: 100%;
	height: 100%;
	font-size: 100%;
	border-radius: 0.4rem 0 0 0.4rem;
	border: rgba(110, 160, 180, 1) 0.08rem solid;
}


/*label#weatherInput input[type=text]::-webkit-input-placeholder {
		color: red;
		font-size: 0.6rem;
		
	}*/

label#weatherInput:focus {
	box-shadow: 0 0 5px aqua;
}

label#weatherInput>div:nth-of-type(2) {
	flex: 1;
	height: 100%;
	margin-right: 0.2rem;
}

label#weatherInput>div:nth-of-type(2) span {
	display: block;
	height: 100%;
	width: 100%;
	color: white;
	background: rgba(64, 161, 210, 0.9);
	text-align: center;
	border-radius: 0 0.4rem 0.4rem 0;
	border: rgba(110, 160, 180, 1) 0.08rem solid;
}

div.weatherDiv .weatherUl {
	margin: 10px auto;
	width: 100%;
	/*max-height: 300px;*/
	padding-top: 5px;
	transition: all 0.3s;
	display: flex;
	justify-content: center;
	align-content: center;
	align-items: center;
	background: rgba(241, 120, 35, 0.9);
}

div.weatherDiv .weatherUl:after {
	content: "";
	display: block;
	clear: both;
	height: 0;
	visibility: hidden;
	zoom: 1;
}

div.weatherDiv .weatherUl .weatherLi {
	flex: 1;
	width: 20%;
	box-sizing: border-box;
	color: rgba(20, 100, 218, 0.9);
	background: linear-gradient(to top, rgba(250, 250, 240, 1), rgba(254, 253, 199, 1), rgba(254, 226, 161, 1), rgba(247, 182, 113, 1), rgba(240, 120, 18, 1));
	text-align: center;
	transition: all .3s;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

li.weatherLi>div {
	font-size: 0.7rem;
	height: 1.6rem;
	line-height: 1.6rem;
	padding: 0.6rem 0;
}

/*以下Vue代码的v-cloak的css样式设置是解决加载时闪现HTML代码的问题
			 */

[v-cloak] {
	display: none;
}

div#metropolitansList {
	width: 100%;
	height: auto;
	padding: 15px;
}

div#metropolitansList a {
	padding: 5px;
	color: green;
}

div#metropolitansList a:hover {
	text-decoration: underline;
	color: orangered;
	font-weight: bold;
}

#click-show-temperature-chart {
	width: 100%;
	height: 40px;
	font-size: 17px;
	line-height: 40px;
	letter-spacing: 5px;
	background: #0494FD;
	box-sizing: border-box;
	text-align: center;
}

#click-show-temperature-chart>a {
	display: block;
	width: 100%;
	height: 100%;
	color: white;
}

#con-father-div {
	width: 100%;
	height: 100%;
	position: absolute;
	left: 0;
	top: 0;
	z-index: 666;
	background: #333;
	display: none;
}
#con1 {
	margin: 0 auto;
	
}
@media screen and (min-width: 0px) {
	#con1 {
		width: 100vw;
		height: 60vh;
	}
}
@media screen and (min-width: 1200px) {
	#con1 {
		width: 1200px;
		height: 500px;
	}
}
#con-father-div > div:nth-of-type(2) {
	position: absolute;
	right: 0.1rem;
	top: 0.1rem;
	font-size: 50px;
	cursor: pointer;
	background: white;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	text-align: center;
	line-height: 40px;
	color: #0494FD;
	font-weight: bold;
}
